#ifndef	__CXX_VIEWS_GRPH_BITMAP_H__
#define	__CXX_VIEWS_GRPH_BITMAP_H__

#include "grphbsc.h"

namespace visgrph
{

class canvas;
class bitmap_impl;

class GRPH_EXPORT_API bitmap
{
	friend class canvas;
public:
	bitmap();
	~bitmap();

	bool create(uint width, uint height, uint stride);
	bool attach(void* buf, uint width, uint height, uint stride);

private:
	bitmap_impl* inst(void);
	bitmap_impl* impl;
};


};	// namespace visgrph

#endif	// __CXX_VIEWS_GRPH_CANVAS_H__
/* EOF */

